package cc.eddic.practice.spring.dto;

import cc.eddic.practice.spring.domain.Exam;
import cc.eddic.practice.spring.domain.Option;
import cc.eddic.practice.spring.domain.Question;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class QuestionAddRequest {
    private String description;
//    private List<Option> options;

    public Question as() {
        return new Question(this.description);//, this.options/);
    }
}
